import * as maptalks from "maptalks";

const options = {
  'position': 'top-right',
  'content': ''
};

class CtSwitchControl extends maptalks.control.Control {
  buildOn(map) {
    const dom = maptalks.DomUtil.createEl('div', 'my-control');
    dom.appendChild(this.options.content)
    return dom;
  }
}

CtSwitchControl.mergeOptions(options);

export default CtSwitchControl
